package com.doufeng.dispatch.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("df_dispatch_task")
public class Task {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private Integer status;   // 0WAIT 1RECEIVED 2FINISH
    private Long workerId;
    private Integer amount;
    private LocalDateTime finishTime;
    private LocalDateTime payTime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
